package com.wnhz.work.yz.bean;

import java.util.List;

/**
 * Created by admin on 2017/6/20.
 */
public class Details0Bean2 {

    /**
     * result : 1
     * info : {"pid":"2","type":"0","name":"内装+材料承包","des":"内装+材料承包简介","price":"1200","unit":"㎡","comment_nums":"999+","index_pic":["http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c008c2697.png"],"list":[{"cateid":"2","catename":"吊顶工程"},{"cateid":"3","catename":"墙板工程"},{"cateid":"4","catename":"地板工程"},{"cateid":"5","catename":"配件工程"}],"comment":[{"head_img":"http://youzhu.unohacha.com/Uploads/image/headimg/logo.png","realname":"刘勇","img":["http://youzhu.unohacha.com/Uploads/image/headimg/logo.png"],"add_time":"2017年06月20日"}]}
     */

    private String result;
    /**
     * pid : 2
     * type : 0
     * name : 内装+材料承包
     * des : 内装+材料承包简介
     * price : 1200
     * unit : ㎡
     * comment_nums : 999+
     * index_pic : ["http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c008c2697.png"]
     * list : [{"cateid":"2","catename":"吊顶工程"},{"cateid":"3","catename":"墙板工程"},{"cateid":"4","catename":"地板工程"},{"cateid":"5","catename":"配件工程"}]
     * comment : [{"head_img":"http://youzhu.unohacha.com/Uploads/image/headimg/logo.png","realname":"刘勇","img":["http://youzhu.unohacha.com/Uploads/image/headimg/logo.png"],"add_time":"2017年06月20日"}]
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity {
        private String pid;
        private String type;
        private String name;
        private String des;
        private String price;
        private String unit;
        private String comment_nums;
        private List<String> index_pic;
        /**
         * cateid : 2
         * catename : 吊顶工程
         */

        private List<ListEntity> list;
        /**
         * head_img : http://youzhu.unohacha.com/Uploads/image/headimg/logo.png
         * realname : 刘勇
         * img : ["http://youzhu.unohacha.com/Uploads/image/headimg/logo.png"]
         * add_time : 2017年06月20日
         */

        private List<CommentEntity> comment;

        public void setPid(String pid) {
            this.pid = pid;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setDes(String des) {
            this.des = des;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public void setComment_nums(String comment_nums) {
            this.comment_nums = comment_nums;
        }

        public void setIndex_pic(List<String> index_pic) {
            this.index_pic = index_pic;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public void setComment(List<CommentEntity> comment) {
            this.comment = comment;
        }

        public String getPid() {
            return pid;
        }

        public String getType() {
            return type;
        }

        public String getName() {
            return name;
        }

        public String getDes() {
            return des;
        }

        public String getPrice() {
            return price;
        }

        public String getUnit() {
            return unit;
        }

        public String getComment_nums() {
            return comment_nums;
        }

        public List<String> getIndex_pic() {
            return index_pic;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public List<CommentEntity> getComment() {
            return comment;
        }

        public static class ListEntity {
            private String cateid;
            private String catename;

            public void setCateid(String cateid) {
                this.cateid = cateid;
            }

            public void setCatename(String catename) {
                this.catename = catename;
            }

            public String getCateid() {
                return cateid;
            }

            public String getCatename() {
                return catename;
            }
        }

        public static class CommentEntity {
            private String head_img;
            private String realname;
            private String add_time;
            private List<String> img;
            private String content="";

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public void setRealname(String realname) {
                this.realname = realname;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public void setImg(List<String> img) {
                this.img = img;
            }

            public String getHead_img() {
                return head_img;
            }

            public String getRealname() {
                return realname;
            }

            public String getAdd_time() {
                return add_time;
            }

            public List<String> getImg() {
                return img;
            }
        }
    }
}
